*{
    box-sizing: content-box;
}
.diy-phone {
    margin: 0 auto;
    width: 320px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 40px;
    background: #fff;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 0 10px #ccc;
}
.diy-phone .phone-head {
    height: 44px;
    background: #f4f4f4;
    position: relative;
    border-bottom: 1px solid #ccc;
}

.diy-phone .phone-head:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 140px;
    height: 8px;
    width: 50px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.diy-phone .phone-main {
    height: 520px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.diy-phone .phone-foot {
    height: 50px;
    border-top: 1px solid #ccc;
}

/* 公告 */
.announcement {
    height:20px;
    width:97%;
    padding:5px;

}
.announcement_text {
    margin-left:5px;
    margin-top:0;
    float:left;
    font-size:14px;
    color:#666666;

}
.laba {
    float:left;
    height:20px;
    width:20px;
}

/* 搜索栏 */
.sousuo{
    height: 30px;
    padding: 7px;
    width: 96%;
    background: #F0F0F0;
}
.sousuo_redum{
    float: left;
    height: 26px;
    background: white;
    width: 80%;
    border-radius: 25px;
    padding: 3px;
}
.sousuo_imgborder{
    float: left;
    height: 25px;
    width: 30px;
    padding: 3px;
}
.sousuo_redum img{
    height: 20px;
    width: 20px;
}
.sousuo_redum_textk{
    font-weight: 100;
    width: 75%;
    font-size: 15px;
    float: left;
    border: 0;
    top: 3px;
    position: relative;
}
.sousuo_redum_text{
    margin-left: 15px;
    margin-top: 5px;
    float: left;
    font-size: 15px;
    color: #444444;
}

/* 拖动 */
.drag{
    position: relative;
    width: 100%;
}
.selected:before, .drag:hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px dashed #00a0e9;
    border-left: 0;
    border-right: 0;
    cursor: move;
    z-index: 10;
}
.diy-phone .phone-main .btn-edit-del {
    height: 16px;
    position: absolute;
    right: 0;
    top:0;
    display: none;
    z-index: 90;
}
.diy-phone .phone-main .dd-item:hover  .btn-edit-del,
.diy-phone .phone-main .selected + .btn-edit-del{
    display: block;
}
.diy-phone .phone-main .drag+.btn-edit-del > div {
    width: 20px;
    height: 16px;
    line-height: 16px;
    display: inline-block;
    text-align: center;
    font-size: 10px;
    color: #337ab7;
    background: #fff;
    margin-left: 2px;
    cursor: pointer;
    position: relative;
    z-index: 11;
    float: left;
    border: 1px solid #337aba;
}
.diy-phone .phone-main .drag .btn-edit-del > div.btn-edit{
    display: none;
}
.highlight {
    height: 30px;
    border: dashed 2px #ccc;
    text-align: center;
    font-weight: bold;
    color: #ccc;
    line-height: 30px;
}

/* 底部菜单栏 */
.diy-menu {
    width: 840px;
    height: auto;
    background: #fdfdfd;
    margin-right: -455px;
    border: 1px solid #ddd;
    border-radius: 3px;
    position: fixed;
    bottom: 0;
    right: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    z-index: 999;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.diy-menu .navs {
    padding: 10px 10px 5px;
    border-bottom: 1px dotted #ddd;
    display: none;
}
.diy-menu .navs nav {
    width: 92px;
    padding: 5px 0;
    margin: 0 5px 5px 0;
    text-align: center;
}
.diy-menu .action {
    padding: 10px;
    text-align: right;
    position: relative;
}


/* 原模块css */
html,body{
    padding: 0px;
    margin: 0px;
}
/* 搜索 */
.laba{
    margin-left: 7.5px;
    float: left;
    height: 20px;
    width: 20px;
}
.sousuo{
    height: 30px;
    padding: 7.5px;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    background: #F0F0F0;
}
.sousuo_redum{
    float: left;
    height: 26.5px;
    background: white;
    width: 80%;
    border-radius: 25px;
    padding: 2.5px;
    margin-left: 5px;
}
.sousuo_imgborder{
    float: left;
    height: 25px;
    width: 30px;
    padding: 3.5px;
}
.sousuo_redum_textk{
    width: 80%;
    border: 0px;
    font-size: 15px;
}
.sousuo_redum_text{
    margin-left: 15px;
    margin-top: 5px;
    float: left;
    font-size: 15px;
    color: #444444;
}


/* 消息 */
.announcement{
    height: 20px;
    width: 100%;
    padding: 5px;
    padding-left: 0px;
    padding-right: 0px;
}
.announcement_border{
    float: left;
    height: 20px;
    width: 40px;
    border-right: 1px solid #AAAAAA;
}
.announcement_images{
    height: 20px;
    width: 30px;
}
.announcement_text{
    margin-left: 5px;
    float: left;
    font-size: 14px;
    color: #666666;
}

/* 商城轮播 */
.top_logo{
    height: 180px;
    width: 100%;
}

/* 优惠券 */
.youhuiquan{
    height: 35px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5%;
    padding-right: 5%;
    width: 90%;
}
/* 充值图片 */
.chongzhi{
    height: 150px;
    width: 100%;
}
/* 物品分类 */
.goodsclass{
    display: inline-block;
    height: 85px;
    width: 15%;
    margin-top: 10px;
    margin-left: 7%;
    text-align: center;
}
.goodsclass_img{
    height: 50px;
    width: 100%;
    border-radius: 5px;
}
.goodsclass_text{
    justify-content: center;
    font-size: 12px;
    color: #3C3C3C;
}

/* 商品轮播 */
.shop_logo{
    height: 210px;
    width: 100%;
}



/* 商品 */
.good_page{
    width: 100%;
    background: #F0F0F0;
    padding-bottom: 50px;
    padding: 0px;
    margin: 0px;
}
.good_border{
    margin-top: 5px;
    background: white;
    height: 160px;
    width: 31%;
    display: inline-block;
    margin-left: 1%;
}
.good_img{
    display: block;
    height: 80px;
    width: 100%;
    float: left;
}
.good_title{
    float: left;
    height: 30px;
    margin-top: 3px;
    padding-right: 5%;
    padding-left: 5%;
    width: 90%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
}
.good_price{
    float: left;
    margin-top: 5px;
    height: 15px;
    color: #666666;
    padding-right: 5%;
    padding-left: 5%;
    width: 90%;
    font-size: 12px;
}
.now_price{
    color: red;
}
.allway_price{
    text-decoration:line-through;
}
.gouwuche_img{
    height: 15px;
    float: right;
    width: 15px;
    display: block;
}
.tuijian_img{
    position: absolute;
    height: 40px;
    width: 40px;
    display: block;
    z-index: 10;
}
.changehide{
    display: none !important;
}

/* 元素和模板 */
.right-box{
    box-shadow: 0 0 30px #ccc;
    position: fixed;
    top: 62px;
    right: 0;
    width: 300px;
    background: #f7f7f7;
    bottom: 0;
}
.right-box .right-title{
    height: 50px;
    border-bottom: 1px solid #ccc;
}
.right-box .right-title .title-word{
    cursor: pointer;
    text-align: center;
    float: left;
    width: 50%;
    font-size: 16px;
    line-height: 48px;
    border-bottom: 2px solid #f6f6f6;
    color: #666;
}
.right-box .right-title .title-word.active{
    border-bottom: 2px solid #428bca;
    color: #428bca;
}
.right-box .right-title .right-body{

}
.right-box .right-body ul{
    padding: 0;
    margin: 0;
}
.right-box .right-body ul li {
    list-style: none;
    width: calc(100% - 1px);
    height: 43px;
    float: left;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    cursor: move;
    text-align: left;
    padding-top: 5px;
    padding-left: 100px;
    color: #707070;
    background: #f3f3f3;
}
.right-box .right-body ul li img{
    width: 40px;
    margin-bottom: 5px;
}
.right-box .right-body ul li:nth-child(3n){
    border-right: 0;
}
.right-box .right-template ul{
    padding: 0;
    margin: 0;
}
.right-box .right-template ul li{
    list-style: none;
    width: 128px;
    height: 180px;
    float: left;
    margin: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #f6f6f6;
    position: relative;
}
.right-box .right-template ul li .bottom-word{
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    text-align: center;
    color: #fff;
    line-height:20px;
    font-size: 12px;
    display: none;
}
.right-box .right-template ul li.choosed{
    text-align: center;
    line-height: 180px;
    font-size: 30px;
    color: green;
    background: rgba(255,255,255,.5);
    border: 1px solid #428bca;
}
.right-box .right-template ul li:hover .bottom-word{
    display: inline-block;
}
.right-box .right-template ul li:hover {
    border: 1px solid #428bca;
}
.right-box .right-template ul li img{
    width: 100%;
    position: absolute;
    left: 0;
    z-index: -1;
}


/*滚动条垂直方向的宽度*/
::-webkit-scrollbar
{
    width: 3px;
}
/* 垂直滚动条的滑动块 */
::-webkit-scrollbar-thumb:vertical {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color:rgba(129,129,129,0.5);
}